package com.sxz.mall.mallseckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 专门配置定时器的类， 可能有多个定时器
 * 开启定时器，开启异步
 */
@EnableAsync
@EnableScheduling
@Configuration
public class ScheduleConfig {

}
